package com.micro.modual.entity;

import javax.persistence.Id;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * <h1>消息发送表表 micro_message_send</h1>
 *
 * @author levelcoder
 * @date 2020-08-04 00:11:10
 */
@ApiModel(description = "消息发送表")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "micro_message_send")
public class MessageSend implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @ApiModelProperty(value = "主键编号")
    private Long id;


    /**
     * 消息内容id
     */
    @ApiModelProperty(value = "消息内容id")
    private Long messageTextId;


    /**
     * 接收者名称
     */
    @ApiModelProperty(value = "接收者名称")
    private String receiverName;


    /**
     * 接收者编号
     */
    @ApiModelProperty(value = "接收者编号")
    private String receiverCode;


    /**
     * 阅读状态 1.已阅读 2未阅读
     */
    @ApiModelProperty(value = "阅读状态 1.已阅读 2未阅读")
    private Byte isResd;


    /**
     * 删除状态 1.已删除 2.未删除
     */
    @ApiModelProperty(value = "删除状态 1.已删除 2.未删除")
    private Byte isDeleted;


    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;


    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

}
